package com.bjwl.modules.app.services.impl;

import com.bjwl.modules.app.dao.NoticeAppDao;
import com.bjwl.modules.app.pojo.NoticeVO;
import com.bjwl.modules.app.services.NoticeAppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 作者 Administrator<br/>
 * 创建时间: 2021/11/28<br/>
 * 描述: <br/>
 */
@Service
public class NoticeAppServiceImpl implements NoticeAppService {

    @Autowired
    private NoticeAppDao noticeAppDao;

    @Override
    public List<NoticeVO> getList() {
        return noticeAppDao.getNotice();
    }

    @Override
    public String getNoticeContentById(String noticeId) {
        return noticeAppDao.getNoticeContentById(noticeId);
    }
}
